//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _PDBAtom_h__
#define	_PDBAtom_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "AtomRecord.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class PDBAtom {
  
  private:
    
    String*               name;
    TListE <AtomRecord>*  records;
    
    String*               toString;
    
  protected:
    
    void                  CleanData (void);
    
  public:
    
    PDBAtom ();
    PDBAtom (const PDBAtom&);
    PDBAtom (const PDBAtom*);
    
    ~PDBAtom ();
    
    void                  Name (String*);
    void                  Records (TListE <AtomRecord>*);
    
    String*               Name (void);
    TListE <AtomRecord>*  Records (void);
    
    bool                  ReadData (String*);
    bool                  ReadData (char*);
    
    String*               ToString (void);
    
    PDBAtom               operator= (const PDBAtom&);

};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//